package com.ipzoe.act.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ipzoe.common.annotation.Excel;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.ipzoe.common.core.domain.BaseEntity;

/**
 * 活动报名对象 act_activity_signup
 * 
 * @author eric
 * @date 2020-08-20
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("act_activity_signup")
public class ActivitySignup implements Serializable {

private static final long serialVersionUID=1L;

public static final String COLUMN_MEMBER_ID = "member_id";


    /** $column.columnComment */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 活动id */
    @Excel(name = "活动id")
    private Long activityId;

    /** 报名用户id */
    private Long memberId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String username;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickname;

    /** 手机 */
    @Excel(name = "手机")
    private String mobile;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** $column.columnComment */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /** 活动报名状态，数据字典 */
    @Excel(name = "活动报名状态，数据字典")
    private Integer status;

    /** 核销时间 */
    @Excel(name = "核销时间" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date verificationTime;

    /** 核销人 */
    @Excel(name = "核销人")
    private String verificationBy;
}
